package cn.kshost.zqyg.client.cart;

import cn.kshost.zqyg.model.entity.h5.CartInfo;
import cn.kshost.zqyg.model.vo.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "service-cart",path = "/api/order/cart/auth")
public interface CartFeign {
    @GetMapping("/clearCart")
    public Result clearCart();

    @GetMapping("/getAllCkecked")
    Result<List<CartInfo>> getAllChecked();

}
